<?php

namespace Modules\Common\Models;

use Modules\Common\Models\Validation\MembersValidation;


class Members extends BaseModel
{
    protected $connection = 'mysql';
    protected $table = 'members';
    use MembersValidation;

    public function subscription_type()
    {
        return $this->belongsTo(SubscriptionTypes::class, 'subscription_type_id');
    }
    
    public function user()
    {
        return $this->belongsTo(Users::class, 'user_id');
    }
}